package com.虚拟机;

import java.util.ArrayList;
import java.util.List;

public class JconsoleHeapTest {
    public static final int _1MB = 1024 * 1024;

    public static void main(String[] args) {
        try {
            Thread.sleep(5000);
        }catch (Exception e){

        }
        System.out.println("method start ====>");
        fill(1000);
        System.out.println("<==== method end ");
    }

    private static void fill(Integer cnt){
        List<JconsoleHeapTest> jconsoleTests = new ArrayList<>();
        for(int i = 0; i<cnt; i++){
            try {
                Thread.sleep(100);
            }catch (Exception e){

            }

        }
    }
}
